//
//  Service.m
//  Truffle
//
//  Created by m2sar on 11/03/10.
//  Copyright 2010 isrtream1-svn . All rights reserved.
//

#import "Service.h"


@implementation Service

@synthesize serviceid, position, servicename, provider;

-(id)initService:(NSString *)serviceidParam withPosition:(NSString *)positionParam withName:(NSString *)nameParam withProvider:(NSString *)providerParam {

	if(self != nil)
	{

	self.serviceid = serviceidParam;
	self.position = positionParam;
	self.servicename = nameParam;
	self.provider = providerParam;
	}
	return self;
	
}

-(NSString *) description
{
	return [NSString stringWithFormat:@"Description - id : %@, position : %@, name : %@, provider : %@", self.serviceid, self.position, self.servicename, self.provider];
}

@end
